package cn.edu.lcu.cs.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.lcu.cs.ssm.dao.UserDao;
import cn.edu.lcu.cs.ssm.entity.User;
import cn.edu.lcu.cs.ssm.mapper.UserMapper;

@Service
public class UserService {
	@Autowired
	private UserMapper userDao;

	public User findById(Long id) {
		return userDao.findById(id);
	}

}
